﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
	public class LOAINHAPBUS
	{
		public static List<LOAINHAP> getListLoainhaps()
		{
			LOAINHAPDAO dao = new LOAINHAPDAO();
			return dao.getListLoainhaps();
		}
		public static DataTable getListLoainhap()
		{
			LOAINHAPDAO dao = new LOAINHAPDAO();
			return dao.getListLoainhap();
		}
		public static bool INSERT(LOAINHAP ln)
		{
			LOAINHAPDAO dao = new LOAINHAPDAO();
			return dao.INSERT(ln);
		}
		public static bool UPDATE(LOAINHAP ln)
		{
			LOAINHAPDAO dao = new LOAINHAPDAO();
			return dao.UPDATE(ln);
		}
		public static bool DELETE(LOAINHAP ln)
		{
			LOAINHAPDAO dao = new LOAINHAPDAO();
			return dao.DELETE(ln);
		}
	}
}
